<%--
  Created by IntelliJ IDEA.
  User: lin
  Date: 2021/12/6
  Time: 下午9:57
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>这是登录页面</title>
</head>
<body>
<%--如果用户已登录,直接掉转到首页 --%>
<c:if test="${msg != null}&&${msg !=''}">
    ${msg}
</c:if>
<form action="userServlet" method="get">
    用户名：<input name="username" /><br/>
    密　码：<input name="password" type="password" /><br/>
    <input type="submit" />
</form>

</body>
</html>
